<div class="page">
	<div class="pageContent pageForm">
		<div class="pageFormContent" layoutH="58">
            <table class="list" width="100%">
    		<tr class="row" ><th colspan="7" class="space" align=center>商品进货报价</th></tr>
            <tr>
                      <th align=center>序号</th>
                      <th align=center>报价单位</th>
                      <th align=center>不含税价(￥)</th>
                      <th align=center>含税价(￥)</th>
                      <th align=center>税差价(￥)</th>
                      <th align=center>报价日期</th>
                    </tr>
        		<volist name="listB" id="v">                    
            		<tr class="row" >
                      <td align=center>{$key+1}</td>
                      <td>{$v['contid']|getTableColVal=Contacts,comname}</td>
                      <td align=right>{$v['qprice']}</td>
                      <td align=right>{$v['qtaxprice']}</td>
                      <td align=right><php>echo number_format($v['qtaxprice']-$v['qprice'],2);</php></td>
                      <td align=center>{$v['qtime']|date="Y-m-d",###}</td>
                    </tr>
        		</volist>
                <tr>
                 <td colspan="7">&nbsp;</td>
                </tr>
    	<!--	</table>
        <div class="divider"></div>
    		<table class="list" width="100%">-->
    		<tr class="row" ><th colspan="7" class="space" align=center>商品销售报价</th></tr>
            <tr>
                      <th align=center>序号</th>
                      <th align=center>客户单位</th>
                      <th align=center>不含税价(￥)</th>
                      <th align=center>含税价(￥)</th>
                      <th align=center>税差价(￥)</th>
                      <th align=center>报价日期</th>                      
                    </tr>
        		<volist name="listA" id="v">        		  
            		<tr class="row" >
                      <td align=center >{$key+1}</td>
                      <td>{$v['contid']|getTableColVal=Contacts,comname}</td>
                      <td align=right>{$v['qprice']}</td>
                      <td align=right>{$v['qtaxprice']}</td>
                      <td align=right><php>echo number_format($v['qtaxprice']-$v['qprice'],2);</php></td>
                      <td align=center>{$v['qtime']|date="Y-m-d",###}</td>                      
                    </tr>
        		</volist>
    		</table>        
		</div>
		<div class="formBar">
			<ul>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
			</ul>
		</div>
	</div>
</div>